﻿using System;

namespace Ooaavee.Data.Queries
{
    /// <summary>
    /// Provides data for SQL events.
    /// </summary>
    public sealed class SqlListenerEventArgs : EventArgs
    {
        private readonly string _sql;

        internal SqlListenerEventArgs(string sql)
        {
            _sql = sql;
        }

        /// <summary>
        /// SQL statement.
        /// </summary>
        public string Sql { get { return _sql; } }
    }
}
